<?php
namespace BP\Sys;

use EventBase;

class EventDemo extends EventBase {
	public static function constructor__ () 
	{
		$me = new self();
		$me->setTitle("事件demo执行演示.");
		return $me;
	}
	public function Do () 
	{
		if ((1 == 2))
		{
			throw new \RuntimeException("@执行错误xxxxxx.");
		}
		$this->SucessInfo = "执行成功提示.";
	}
}
?>
